-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x-pack/filebeat/input/entityanalytics/okta/internal: add role and factor client calls #41044
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
b7e03ad
to
a3a0103
Compare
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
@@ -176,6 +207,48 @@ func GetUserDetails(ctx context.Context, cli *http.Client, host, key, user strin | |||
return getDetails[User](ctx, cli, u, key, user == "", omit, lim, window, log) | |||
} | |||
|
|||
// GetUserRoles returns Okta group roles using the groups API endpoint. host is the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
godoc needs changed for GetUserFactors
.
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go
Outdated
Show resolved
Hide resolved
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go
Outdated
Show resolved
Hide resolved
This pull request is now in conflicts. Could you fix it? 🙏
|
80a1e75
to
a5fd059
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
fede4c3
to
63b191d
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
@@ -72,6 +72,37 @@ type Group struct { | |||
Profile map[string]any `json:"profile"` | |||
} | |||
|
|||
// Role is an Okta identity factor description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Role is an Okta identity factor description. | |
// Factor is an Okta identity factor description. |
63b191d
to
70c3e56
Compare
…tor client calls (#41044) (#41251) (cherry picked from commit 10a2e94) Co-authored-by: Dan Kortschak <[email protected]>
Proposed commit message
See title.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Requires an okta account to test. See header of test file for details.
Example redacted output excerpts from a test run:
Related issues
Use cases
Screenshots
Logs